GetMenuItemRefCon
NEW WITH THE APPEARANCE MANAGER
Gets application-specific information for a menu item.
pascal OSErr GetMenuItemRefCon ( MenuHandle inMenu, SInt16 inItem, SInt32* outRefCon);
inMenu
- The handle to the menu structure of the menu item for which you wish to get information.
inItem
- An integer representing the item number of the menu item for which you wish to get information.
outRefCon
- On output, a pointer to an integer representing a reference constant.
- function result
- A result code; see "Result Codes".
DISCUSSION
If you have assigned any data to a given menu item usingSetMenuItemRefCon
function, you can read it using theGetMenuItemRefCon
function.SEE ALSO
"Appearance Manager Gestalt Selector Constants".